this is the github authentication code.