put tweets into database and read them back