                          sendRequest({
                                method: "POST",
                                url: loginObject.submitUrl,
                                data: {
                                    userName: userName.value.trim(),
                                    password: password.value.trim(),
                                    tenantName: tenantName?.value
                                },
                                beforeSend: function (request) {
                    