 		request.end()
 
 class UserProcessor
-	constructor: (@userData, @wnsConfig) ->
-
-	SendWindows8Data: (requestOptions, payload, userInfo) =>
+	constructor: (userData, wnsConfig) ->
+		@userInfo = userData
+		@wnsConfig = wnsConfig
+
+	SendWindows8Data: (requestOptions, payload) =>
 		request = https.request(requestOptions, (res) =>
 			res.setEncoding('utf8')
 			errorDescription = res.headers['X-WNS-Error-Description']

			""")

class WNSAuthentication
	constructor: () ->
		@config = new Config()
	Authenticate: (@success, @error) =>
		unless(@success)
			throw 'Success method not defined for WNS Authentication.'
		unless(@error)

			}
		}

		@SendWindows8Data(requestOptions, tileData)

		tileData = """<tile launch="">
		  <visual lang="en-US">
