displaying flash notices and alerts (step 10) done