updated login interface, add send message interface, add MessageListener