added page title functionality