GitHub authentication

Implemented authentication using tokens when connecting to GitHub API.