styled the flash messages and added a global helper method to help with this