add flexible flash messages