oauth for github API

Changed Github api requests to switched from basic to oauth