Make use of IoC to allow injecting a custom user model.