Added some validations for name and email