Fixes logout action

On logout, reset browsers and selection so we clear the view.