changed the flash message system to look and work better