created pages and routes