made the delete button functional and add ajax loading image