Add UserTrait for Doctrine