finished github authorization api, added also friendly test