Added middleware handling