Adding newsfeed functions