a new Design for the tasks controller with all functions ready and tested except for delete task