Bug Fix
1- The Logout page now performs a real logout (calls the API, clears local session data) before redirecting to the login screen. Previously it only flipped an in-memory flag, so returning to the panel URL restored the dashboard without asking for credentials.