twitter login refactoring continue