updated docs. fixed oauth2_client bugs