a: { 
					email: $("#login-email").val(), 
					password: $("#login-pass").val() 
				},
				beforeSend: function() {
					$("#signup-submit").css('display','none');
					$(".res-cont-sent").css('display','block');
				},
				success: function(response) {
					// redirecting only if the user login succeeded
					if (typeof response.email_error == 'undefined' && typeof response.password_error == 'undefined' && typeof response.message == 'undefined') {
													if(link == 'download'){
								location.hr