made my Oauth2 work as a bean