Add flash messages to view