moved service to app.js