implemented edit and show links