adding validation to movie insert in ES