adding in edit and show page