add test for disconnect when not logged in