waiting for user to login fix