// function to get the current page name