flash message bar implemented