set up http for deleting event. Not yet working