Adding endpoint and trying to add websockets