we're also setting this in middleware.js, having multiple assignments sounds like a bad idea.