Middleware and application

Homepage Middleware and application