fixed auth_class when no email use phone