[IMP] improved code for unsubscribe_url