removed flash messages from everything but lesson editing