def get_user_id(username)
      pglimit = 100
      res = @conn.get('/api/v1/users&limit=' + pglimit.to_s)
      usercount = res['count'].to_i
      id = user_data_from_results(res, username, 'uid')
      return id if id

      pages = (usercount / pglimit) + 1
      2.upto(pages) do |i|
        res = @conn.get('/api/v1/users&limit=' + pglimit.to_s + '?page=' + i.to_s)
        id = user_data_from_results(res, username, 'uid')
        return id if id
      end
      nil
    end
def get_user_id(username)
      pglimit = 100
      res = @conn.get('/api/v1/users&limit=' + pglimit.to_s)
      usercount = res['count'].to_i
      id = user_data_from_results(res, username, 'uid')
      return id if id

      pages = (usercount / pglimit) + 1
      2.upto(pages) do |i|
        res = @conn.get('/api/v1/users&limit=' + pglimit.to_s + '?page=' + i.to_s)
        id = user_data_from_results(res, username, 'uid')
        return id if id
      end
      nil
    end
gets the site ID for the site named sitename
 will page through all the sites available searching for the site
 @param [String] username drupal username (not email)
 @return [Integer] the uid of the drupal user