add a simple class for flash based messaging