write users whenever a new user is created, not when the process exits

(because apparently forever.js kills processes differently than I was
expecting)