added S3 image upload for avatars