fix assigning IP Addresses to users