receiving messages and displaying on message  screen