render page with middleware

render the pages directly as we have added a middleware