add parameterized middleware, remove parameterized controller