added listcommands in client