Adding a get_page_title function which got removed somehow