$('#verifyError');

        form.submit(function (e) {
            e.preventDefault();
            error.hide();

            var email = $('#email').val();
            $.ajax({
                cache: false,
                type: 'POST',
                url: '/api/users/' + email + '/verify',
                data: form.serialize() ,
                success: function () {
                    // Verify successful, cookie has been set, redirect
                    window.location = '/';
                },
    