Added the function where the employee can have a task assigned to them