some play around stuff with xmpp and getting session tokens