added basic flash message handling