readability oauth refactored