Removed the user variable from all calls to render. This variable is now part of res.locals.