Index: frontend/src/App.jsx
===================================================================
--- frontend/src/App.jsx	(revision e9a0543bbb622a2b343d1f5fe3b2df7ddb6a0bd3)
+++ frontend/src/App.jsx	(revision 42da64dc0d28f9380336816f6fb82c7572d0021d)
@@ -1,3 +1,4 @@
 import { Navigate, Route, Routes } from "react-router-dom";
+import { clearAuthSession, getAuthToken, isTokenExpired } from "./utils/authSession";
 
 import LandingPage from "./pages/LandingPage/LandingPage.jsx";
@@ -23,5 +24,9 @@
 
 function RequireAuth({ children }) {
-  const token = localStorage.getItem("authToken");
+  const token = getAuthToken();
+  if (token && isTokenExpired(token)) {
+    clearAuthSession();
+    return <Navigate to="/login" replace />;
+  }
   if (!token) return <Navigate to="/login" replace />;
   return children;
