diff --git a/src/layouts/AppLayout.vue b/src/layouts/AppLayout.vue
index 0b78e5b..25ba3f6 100644
--- a/src/layouts/AppLayout.vue
+++ b/src/layouts/AppLayout.vue
@@ -45,6 +45,12 @@
   },
   mounted() {
     this.$root.$on('refresh-application', () => this.refresh());
+    setInterval(() => {
+      if (!localStorage.getItem('storedUsername')) {
+        this.$eventBus.$consoleWindow.close();
+        this.refresh();
+      }
+    }, 10000);
   },
   methods: {
     refresh() {
