user validations and tests for name and email