						});
							}
						}
					}).fail(function( jqXHR, textStatus ) {
						// Nothing to be done here.
						console.log("Request failed: " + textStatus + ' and error is ' + JSON.stringify(jqXHR));
					});
				} else if(actionType == 'login') {
					$.ajax({
						url : '/accounts/ajax_facebook',
						type: 'post',
						data : response,
						success : function(res) {
							if(typeof res.success != 'undefined' && res.success != null && res.success == true) {
								// Don't do anything here.
							