adding delete and edit buttons to show view as well