modified to support non domain local accounts