fix ldap pooling, session handling in process
working out session