When user clicks the button they should be navigated to www.example.com/logout and then automatically redirected to an iframe (www.example.com/home)
setTimeout(window.location.href = "https://example.com/logout", 2000);
this.iframeUrl = "https://example.com/home";