add support for github oauth

@ibuildthecloud
I'll revert the formatting changes in this file. It was unintended