message flashing on layout.html