Add web scoket connxion in main page