register pages to paths