more fixes for logged out