Added tweet creation logic