rendering routes from the controller