add name param to command method on appController