adding res.locals for req access variables