code: function(deviceId, data) {
                  console.log('iamInterface.user.registerDevice');
                  corbel.validate.values(['id', 'deviceId'], {
                      'id': this.id,
                      'deviceId': deviceId
                  });
                  return this.request({
                      url: this._buildUriWithDomain(this.uri, this.id) + '/device/' + deviceId,
                      method: corbel.request.method.PUT,
                      data: data
                  }).then(function(res) {
                      return corbel.Services.getLocationId(res);
                  });
              }
docs: User device register
  @method
  @memberOf corbel.Iam.UserBuilder
  @param  {string} deviceId  The device id
  @param  {Object} data      The device data
  @param  {Object} data.URI  The device token
  @param  {Object} data.name The device name
  @param  {Object} data.type The device type (ANDROID, APPLE, WEB)
  @return {Promise} Q promise that resolves to a User {Object} or rejects with a {@link corbelError}