Added pagination and caching filtered results