Added Kristen's validation functions and O'Reilly email validation