Display flash messages correctly