Made newFromNameVersionUser() not accept User objects to avoid confusion

Change-Id: If1f63733461f828c3584f3d1af0f98cd024b5c64
Merge "Made newFromNameVersionUser() not accept User objects to avoid confusion"