add page title functionality