Refactoring TaskUserManager