fix socket.io support and impl basic message button at index