add pages and routes