logout should work fixes #2