1) refactor closest user computation + tests 2) allow for saving of messages