add flash notices and alerts