added ajax get methdo for xmessages