Added show/edit links and functionality