public function avatar($size = 100)
    {
        /*
        if(File::exists(public_path('/avatars'.'/'.md5($this->email)))){
            return asset('/avatars'.'/'.md5($this->email));
        }
        return "https://tracker.moodle.org/secure/attachment/30912/f3.png";
        */
        // Get gavatar avatar

        if (Utilities::validGravatar($this->email)) {
            return Utilities::gavatar($this->email);
        }
        $color = Packages::installed('customization') ? \Laralum\Customization\Models\Customization::first()->navbar_color : '#1e87f0';

        return MaterialFunctions::materialAvatar($this->name, $size, $color);
    }