added ability to upload documents