Add a UserFactory and an implementation.