{
								$.ajax({
									url: "/accounts/setusersession/",
									type: 'POST',
									crossDomain: true,
									cache: false,
									data: { 
										access_token: data.access_token, 
										user_id: data.user_id,
										type: 'facebook'
									}
								}).done(function( data, textStatus, jqXHR ) {
									document.location.href = "/perk/downloadconfirmation";
									console.log('Success callback - response is ' + data + 'textStatus is ' + textStatus + ' and jqXHR is ' + JSON.strin