Fixed user creation bug