added KMC code for creating users