some initial stuff on websocket server