now usable with oauth2.
Merge pull request #7 from phaer/master

now usable with oauth2