create route for rest of  main pages