registering route filter