export to snapbill global variable when in browser, fix xmlhttprequest code, remove user pass on login failure