completed functionality to allow uploading and deleting to s3