fixes for assigning network to a user, deviceClass delete