modified the files of xmpp_client_demo