replaced regex email validation with valid_email()