document.addEventListener('deviceready',function() {
var lock = new Auth0Lock(
  'oeT90K3VhaLdxzIOI6XrHjlrYdZlgb8L',
  'tutorials.auth0.com'
);


 $('.btn-login').click(function(e) {
      e.preventDefault();
      lock.show();
    });
// Listening for the authenticated event
lock.on("authenticated", function(authResult) {
  // Use the token in authResult to getUserInfo() and save it to localStorage
  lock.getUserInfo(authResult.accessToken, function(error, profile) {
    if (error) {
      // Handle error
      return;
    }

    localStorage.setItem('accessToken', authResult.accessToken);
    localStorage.setItem('profile', JSON.stringify(profile));
  });
});


var token = localStorage.getItem('accessToken');
if (token) {
  showLoggedIn();
}

// Display the user's profile
function showLoggedIn() {
  var profile = JSON.parse(localStorage.getItem('profile'));
  document.getElementById('nick').textContent = profile.nickname;
}

}, false);

@@ -79,72 +79,53 @@
 %0A  '
-oeT90K3VhaLdxzIOI6XrHjlrYdZlgb8L',%0A  'tutorials.auth0.com
+YOUR_CLIENT_ID',%0A  'YOUR_AUTH0_DOMAIN
 '%0A);%0A%0A%0A
+%0A
  $('

Update app.js