Fix session loggedIn
Fix session loggedIn