updated controller
fixed oauth
Merge remote-tracking branch 'origin/1.0'