query user by page and num