Assigning users to tasks