Added custom Middleware which logs all requests to file and console