Change pressTheLoginButton method.