added routes for index and show page