Add title function for show page