made more changes to routes.js