use websocket and refactoring server side
refactoring server side
use websocket and refactoring server side