Added title function for show page