Removed onLogin and onLoginFailure explanation due to errors