Generate greeting controller