displaying flash notices and alerts