smart switching between modes

-Top bar redesign
-Logout moved to settings