middleware for locals.