Index: ReserveNGo-frontend/src/components/Project/Auth/login_.vue
===================================================================
--- ReserveNGo-frontend/src/components/Project/Auth/login_.vue	(revision 6c14611b1aca506ec9ec85e1bed4d963fd699b83)
+++ ReserveNGo-frontend/src/components/Project/Auth/login_.vue	(revision 5499a049336938a26fa80d56f5bdea72adfbe4d9)
@@ -53,9 +53,9 @@
 
         if (this.userStore_ && this.userStore_.data.role === 'ROLE_ADMIN') {
-          router.push('/admin-dashboard')
+          await this.router.push('/admin-dashboard')
         } else if (this.userStore_ && this.userStore_.data.role === 'ROLE_LOCAL_MANAGER') {
           this.fetchLocalForManager()
         } else {
-          router.push('/')
+          await this.router.push('/')
         }
       } catch (error) {
@@ -67,4 +67,6 @@
         }
         else {
+          console.log("am i getting here")
+          console.error(error)
           this.errorMessage = error.response || "Something went wrong";
         }
@@ -91,5 +93,5 @@
     },
     fetchLocalForManager() {
-      useLocalManager.getLocal()
+      useLocalManager.getMyLocal()
         .then((data) => (this.managerLocalId = data.id))
         .then(() => router.push(`/more_details/${this.managerLocalId}`))
