client(typo fixed, data sync logic fix) server(client disconnect processing logic added)