format tweets and make write to mongo button