added code to receive new msg from gtalk
added code to receive new msg from gtalk