photo and certificate uploading with amazon s3