added edit button to index page; showing images on form