edata.name, {
                        body: redata.body,
                        icon: redata.icon
                    }, function(notification) {
                        window.focus();
                        notification.close();
                        _this.openIframeUrl("/chat_main");
                    });
                });
            },
            openIframeUrl(url){
                this.iframeUrl=url;
            },
            logout(){
                localStorage.removeItem("token");
      