Added search page pagination