Added xmpp functions to frndsviewcontroller

Passed xmppstream to frndsviewcontroller