added github_client middleware