product add functionality with websocket