make sure the websockets are on before rendering anything