authorization changes

added DataBaseExport constructor and prototype, changed ALSHrequest
function, improved selfCall and authorizeUser methods, created
authorize function