Webix Jet User Plugins Logout Not Work

hi, please help logout not work (after click, page not redirect to login page)

{
    view: "icon", icon: "mdi mdi-logout",
    tooltip: "Logout",
     click: () => this.app.getService("user").logout()
}

session.js

function logout() {
    webix.storage.cookie.remove("appCookie");
    this.credentials = {};
    return new Promise((resolve, reject) => {
        resolve(this.credentials);
    });
}