added an example ipn handler