Added cross server middleware