move page routes into a mapper helper