Updated routing for allowing only certain routes

The route= will only allow routes it understands through. Otherwise it
will return them to the Home page.