changed the ajax requests to be asynchronous to work with FF and xhr:withCredentials:true
Execute the queries in the correct order. Expose that dropbox is supported.