Minior Change to IsLoggedIn method