register legal documents