Adding the getHistory function to get all the users' updates since the beginning