add callback for logout, payment