         token = token.stringByReplacingOccurrencesOfString(" ", withString: "").stringByTrimmingCharactersInSet(NSCharacterSet.symbolCharacterSet())
         
         
-        let urlBuilder = BMSPushUrlBuilder(applicationID: bmsClient.bluemixAppGUID!)
+        let urlBuilder = BMSPushUrlBuilder(applicationID: applicationId!)
         
         let resourceURL:String = urlBuilder.getSubscribedDevicesUrl(devId)
         let headers = urlBuilder.addHeader()

            let devId = authManager.deviceIdentity.id!
            
            
            let urlBuilder = BMSPushUrlBuilder(applicationID: bmsClient.bluemixAppGUID!)
            let resourceURL:String = urlBuilder.getUnSubscribetagsUrl()
            
            let headers = urlBuilder.addHeader()

        let devId = authManager.deviceIdentity.id!
        
        
        let urlBuilder = BMSPushUrlBuilder(applicationID: applicationId!)
        let resourceURL:String = urlBuilder.getAvailableSubscriptionsUrl(devId)
        
        let headers = urlBuilder.addHeader()
