Added validation messages in a flash