XMPP update

Test for strophe.js
New sql structure