validation
flash messages