Add page arg to search function