Fixed pagination (and last check in sql errors), added ADLDAPUserManger