access_token != "") {
							// Make AJAX call to set session.
							$.ajax({
								url: "/accounts/setusersession/",
								type: 'POST',
								crossDomain: true,
								cache: false,
								data: { 
									access_token: data.access_token, 
									user_id: data.user_id,
									type: 'email'
								}
							}).done(function( data, textStatus, jqXHR ) {
								console.log('Success callback - response is ' + data + 'textStatus is ' + textStatus + ' and jqXHR is ' + JSON.stringify(jqXHR));
				