updating some LDAP Functions, adding  some filters to application.conf