fixed the routing so the url routing is more intuitive