updated services.js with calendar API