Add check to see if the token is valid
Merge pull request #178 from thescouser89/github_pr

Add check to see if the token is valid