Pass state in onUserInfo