filtering and searching works on backend