Create user main document and JS-generate & save ID-hash