changed api path in core/app.js