Get should take only Middleware as input