Refactoring a part of the UserBehavior to reuse some code