Fixes a saving error in user creation