added some more routes through the middleware