diff --git a/frontend/src/App.js b/frontend/src/App.js
index 0cfe98a..3e20248 100644
--- a/frontend/src/App.js
+++ b/frontend/src/App.js
@@ -12,6 +12,9 @@ import Manual from "./components/pages/Manual";
import Secret from "./components/pages/Secret";
import Umfrage from "./components/pages/Umfrage";
import PrivateRoute from "./auth/PrivateRoute";
+import Behavior from "./components/pages/Behavior";
+import { Logger } from "@behametrics/logger-web";
+import { useAuth } from "./auth/AuthProvider";
function App() {
return (
@@ -27,6 +30,7 @@ function App() {
+
diff --git a/frontend/src/components/pages/Behavior.js b/frontend/src/components/pages/Behavior.js
new file mode 100644
index 0000000..3925394
--- /dev/null
+++ b/frontend/src/components/pages/Behavior.js
@@ -0,0 +1,14 @@
+import React from "react";
+import "../../App.css";
+import Footer from "../../Footer";
+
+export default function Behavior() {
+ return (
+ <>
+
+
Studie Verhaltensmerkmale
+
+
+ >
+ );
+}
diff --git a/frontend/src/components/pages/Login.js b/frontend/src/components/pages/Login.js
index 69b3021..46dcba5 100644
--- a/frontend/src/components/pages/Login.js
+++ b/frontend/src/components/pages/Login.js
@@ -4,6 +4,7 @@ import "../../App.css";
import Footer from "../../Footer";
import InputField from "../InputField";
import SubmitField from "../SubmitField";
+import { Redirect } from "react-router";
import { login, useAuth, logout } from "../../auth/AuthProvider";
import Secret from "./Secret";
import ErrorMessage from "../ErrorMessage";
@@ -71,8 +72,7 @@ export default function Login() {
) : (
<>
-
-
+
>
)}
diff --git a/frontend/src/components/pages/Umfrage.js b/frontend/src/components/pages/Umfrage.js
index 12a00a1..44b6ee6 100644
--- a/frontend/src/components/pages/Umfrage.js
+++ b/frontend/src/components/pages/Umfrage.js
@@ -8,6 +8,7 @@ import SubmitField from "../SubmitField";
import { authFetch } from "../../auth/AuthProvider";
import ErrorMessage from "../ErrorMessage";
import { Link } from "react-router-dom";
+import { Redirect } from "react-router";
export default function Umfrage() {
/* values from survey */
@@ -218,7 +219,7 @@ export default function Umfrage() {
{!isSurveyValidBackend ? (
) : (
- {backendSuccessMessage}
+
)}