new api for UserRegisterHandler