added edit and delete to each link on the index page