add an onRegisterUserFailed Event