flash messages class