code: function(req, res, next) {
      var accessToken = req.accessToken;
      var profileUrl = 'https://apis.live.net/v5.0/me?access_token=' + accessToken;
      request.get({ url: profileUrl, json: true }, function(err, response, profile) {
        if (err) {
          res.status(500).send(err);
          return;
        }
        req.profile = profile;
        next();
      });
    }
docs: Step 2. Retrieve profile information about the current user.