implemented deleting ticket