type: 'POST',
				crossDomain: true,
				cache: false,
				data: {
					grant_type: 'password',
					username: $("#login-email").val(), 
					password: $("#login-pass").val(),
					type: 'email',
					device_type: 'web_browser',
					client_id: "11111",
					client_secret: "c437a24bf277dfea375f"
				}
			}).done(function( data, textStatus, jqXHR ) {
				console.log("Done response and json - response is " + JSON.stringify(jqXHR) + ' and textStatus is ' + textStatus);
				if(textStatus == "success" && jqXHR.s