Refactoring accounts_web app