Added support for createUser() api