Updated the isLoggedIn method