added websockets endpoint