Added pagination on search results