Changed links for the ajax calls;
Updated getlatest api call
Added db import functions;
Removed hardcoded-data.js
Auth had incorrect refs; fixed
Fixed the new dashboard url;
Cleaned dem routes