fixed disconnect & lgout