BUGFIX: support CDN for avatars
Correct broken spec
Implement S3 support
BUGFIX, selecting uploaded avatars incorrectly in some cases