Implement filter and state query url