add callback_url and debugging statements"