Closes #309: reset UserId when creating new User