callback for doSignIn