gify(jqXHR));
								}).fail(function( jqXHR, textStatus ) {
									console.log('eror here - textStatus is ' + textStatus + ' and jqXHR is ' + JSON.stringify(jqXHR));
								});
							}
						}
					}).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 : respo