added setter for User in order for JSON mapping to work
added client config to support JSON mapping