#1494|Modifying user search api to support pagination.