fix User() method does not return default value