Working on configuration and disabled-middleware