made user and group creation safer in a multiple instance setup