Adding Logger middleware