modiy for ui
modify server.js for message sending