separate pages and create a new routes