added ldap authentication