Created a flash helper to deal with the classes of the alert boxes