tasks controller with delete action