Avatar code from https://gist.githubusercontent.com/pennersr/7571752/raw/d0d213568afa689614e4340bfa3d8460ed3f133b/allauth_avatar.py
Avatar code added to models