Added paging support into search controller