making the login process wait