add a route and a controller