Document registration and uploading