added validation flash message