Making a call against github after authorization