Refactor Twitter oauth to take callback