This is not a middleware, it should not have a middleware signature. lets discuss the details offline.