User model for registration to use IoC, allowing OneAuth to inject some requirement during user registration.

Signed-off-by: crynobone <crynobone@gmail.com>
missing use RuntimeException

Signed-off-by: crynobone <crynobone@gmail.com>
Update events doc

Signed-off-by: crynobone <crynobone@gmail.com>