refactored the data types for twitter user and posting