add greet api and demo