loggedIn in useUserSession() is false but getUserSession() exist user session. Only when reloading is that value true