finished implementing all Web Socket handlers