init commit and websocket