adds handler for coinbase callback