diff --git a/src/App.js b/src/App.js
index 3abbf3851904f200425fcb48df0db3ad7fd6d6a0..2db34bba9960c5a1a6e6de0093bb1a43a5993ed2 100644
--- a/src/App.js
+++ b/src/App.js
@@ -71,6 +71,10 @@ function App() {
   };
 
   const logout = () => {
+    setNum(null);
+    setRole(null);
+    setDisabled(null);
+    setToken(null);
     Preferences.clear();
   };