Added ldap login implementation