changed controllers.js