Refactoring the GitHubOauth + Catch exeption error from Oauth and Handler from Github (Return formated Json)