add flashes to control controllers