Updated createTweet method in Tweet