added ability to delete task via resource.