waiting for user to login