added links to the main and show view pages