Add flash messages to the project