added title functionality for show page