Updating the ManagingUsers example showing how to use UserFactory in order to avoid the explicit use of BaseUser class in users' code.