Add authorization and documents to search