Updated LocalDataManager and implemented some functions in UserPostCollector