Change urls in controller.js