Refactoring: extracted twitter login into separate file