upload and access public documents
fix unused message thread with empty loop