Pass User object when creating a new user.