adding websocket and advertising reload