using new Json() method on User