Added pagination of search results