Fix user creation bug