You have a similar error in the createUser function so I changed that too. I don't know if that will solve all your problems given that I do not have strompath to run on my machine, but those are the ones I could find. Hope that helps