appends user ids to images and sorts s3 bucket