added delete button for agents