updated routes to include trailing slash