Added middleware paths