Add token generation and storage for tweets