BareJID not full JID
Initialise variable
Code formatting