Added api for GitHub authentication.