init apn; device token