added createUser method