fixing disconnect logging
fixing joining issue