Phase 1 of project, xmpp presence works yet to implement non-webserver-login flow. In fact the most of xmpp works