delete user, doctype, and document