Factory method for user was moved into entity.