Logout Fixes

- Logging out now wipes application states.