Add functionality for show page