Created TEmplateContextMIddleware