add flash messages to UI