added edit link from details page if viewer is the owner