Cleaned TasksController.php