working s3 upload and view