Added Support for Active Directory