public function avatar($width = null, $height = null,  $returnGravatarIfNotFound = false)
    {
        if($this->profileimage) {
            if(!$width && !$height) {
                return url($this->profileimage->url);
            }else{
                return $this->profileimage->thumb($width, $height, $this->profileimage);
            }
        }

        if($returnGravatarIfNotFound && $this->gravatar) {
            return $this->gravatar;
        }

        return;
    }