Added flash message feature.

Added flash message feature.