Added flash messages