move onSignInCallback to LoginController