More refactoring so that tasks are added directly to users - seems to work for all crud operations