made changes to routes.js