diff --git a/frontend/index.html b/frontend/index.html
index 4922b43..a04201d 100644
--- a/frontend/index.html
+++ b/frontend/index.html
@@ -661,6 +661,7 @@
id="logout-btn"
type="button"
role="menuitem"
+ onclick="fetch('/api/auth/logout',{method:'POST',credentials:'include'}).then(function(){localStorage.clear();window.location.href='/'}).catch(function(){localStorage.clear();window.location.href='/'})"
>