finished adding error checking to ldap store class