moved requests from controllers.js  to services.js