Yup a logout will trigger a reload of the router, so current_company will be wiped. It's only possible that current_company is still saved if we don't do the redirect (since that resets the router).