Added email address validation to registration form