WIP splitting code that writes users to disk from user management.