Made some in MessangerHub -> GetClientState method, ensure adding of sign '}' to the end of state