Pagination added and gsearch changed