cleaning up, ldap operations working correctly
added custom exceptions