added ldap integration and group membership query