Update OauthController
changes include:
- standerd code (not more than 80 character per line)
- use IOAdapter for the sake of output