Improvements in OAuth2