Added validation for name and surname