Added ability to get the list of pages
Changed routing to build regex using list of pages to prevent breaking other routes