setup the routing correctly for every page