fixed up the routes on the server