Added getValidAvatar() to User