Added `use PhpLib\Set` because original Set library was replaced with PhpLib.
Added user session storage to prevent continual LDAP lookups which slow the whole thing down.