document and userinfo