implemented clientside dbox API, login/logout button logic, save btn logic. cleaned up app.js.