User must logged in, to search a document.