updated to use https and github api v3