Added getNewTask also to controller