add support to send messages to server and lazy loading of profile images.