Updated routes.js