user flashes on main layout