Added helper to handle different types of flash messages as CSS classes for the new styling of the flash messages