Modfied flash messages and created helper.