- renderUserMenu() rebuilds #logout-btn with innerHTML, wiping inline onclick - Added onclick='window.handleLogout()' to the dynamic innerHTML string - Restored addEventListener as double safety - Settings #profile-logout already has onclick to handleLogout