Added conditional bootstrap flash messages