fix regex and assign random user ids