added paging capability to NameDAO