got flash messages working