allows for show, edit, delete from index page