diff --git a/src/contexts/AuthenticationProvider.tsx b/src/contexts/AuthenticationProvider.tsx
index 6868f7a..bc2c012 100644
--- a/src/contexts/AuthenticationProvider.tsx
+++ b/src/contexts/AuthenticationProvider.tsx
@@ -16,8 +16,8 @@ export class AuthenticationProvider extends React.Component {
   })
 
   render() {
-    this.state = { isLoggedIn: false, userProfile: null };
-    this.state = { isLoggedIn: false, userProfile: null };
+    const [isLoggedIn, setIsLoggedIn] = React.useState<boolean>(false)
+    const [userProfile, setUserProfile] = React.useState<any>(null)
 
     return (
       <this.authContext.Provider