Wecudos middleware