Express Middleware to render react components