Logout on navigate away
Logout on navigate away