public static function logout()
    {
        Session::forget(static::resource('session'));
        Cookie::forget(static::resource('cookie'));
        static::$user = null;

        return true;
    }