Adds WS route and endpoint