added csrf middleware to module registry