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

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