sql fix for users at created sites