registering the logger in the extension method, not the middleware
removing IElmStore