adding footer and changed destroy to delete