add a handler for ACTION messages