Wire up login button to the controller method and handle successes