Checks if a user is logged out