omniauth refactoring