added a success/error dialog on didFinishSignInWithToken