commented out if/else on createUser - was throwing errors either way