added functionality to create tweets