Functional JSON version (add user)