added flash messages to Lesson 8.0