add action to set message so we can set no cache cookie