update for login status