Add setAvatar to user model