isLoggedIn working now