Implemented flash messages