add edit/delete to the view page