Bug fix: rolling back changes when create_user() fails doesn't always work.