					$('.overlay_section').fadeOut();
						}
					}
				});
				
				$.ajax({
					url: window.location.protocol + "//" + "api.perk.com/oauth/token",
					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, jq