Updated page with real websocket server and ability to switch environment