Better error handling for oauth
Add LICENSE