Add 'edit' and 'delete' buttons to index
Add edit and delete functions