squashed bugs with regard to logging out