disallow duplicate providers and clients and implemented deletion