onLoginclick change method