Ver0
ver0 , add xmpp and direction layout