changed email_subscription api call to using cb_get_secrure