add services.js to services folder