add filter for handling request filtering