Added code and a new XML to invite friends.