                 alert('Response: '+event.target.responseText);
                        }
                        
                    }
                };
                XHRticket.open('GET', '//localhost:10005/ticket/'+jsonResponse["user_id"]+'?format=json');
                XHRticket.setRequestHeader('Content-Type','application/json' );
                XHRticket.send();
            } else {
                // Define what happens in case of error
                alert('Response: '+event.target.responseTe