Middleware App Solution