added router for pages