add api function that gets the last time a friend was seen online (also retain old data files)