add explicit isLoggedIn variable to auth