working search&filter with api (left some minor bugs)