function createRole($name, $description) {
        if ($user = $this->authManager->getRole($name)) {
            echo "{$name} role already exists\n";
        } else {
            $user = $this->authManager->createRole($name);
            $user->description = $description;
            $this->authManager->add($user);
            echo "{$name} role created\n";
        }
        return $user;
    }