hook up before/after filters in router