working sql and xmpp

working xmpp and sql