updated routing.js