Add organization middleware