updated services.js to make app work locally