modified to associate the user and tasks