Fixed bug that caused create user to throw exception
Fixed bug that caused user creation to fail