Added github oauth api example
code style + cosmetic