routes.js cleaned