en: 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));
								// Nothing to be done here since we set the session in a different ajax call as well.
							}).fail(function( jqXHR, textStatus ) {
								console.log('eror here - textStatus is ' + textStatus + ' and jqXHR is ' + JSON.str