now can pass css classes to flash messages