formatting the newsfeed table