add edit form and edit and delete buttons on index