Fix session loggedIn