userState and newName is undefined

closes #1131