Fix bug in user creation fn
Merge pull request #186 from editorsnotes/account-creation-fixes

Fix bug in user creation fn