Added flash messages on actions