           success: function(data) {
              $('input[name=username]').val(data.username);
              $('input[name=email]').val(data.email);
              $('input[name=first_name]').val(data.first_name);
              $('input[name=last_name]').val(data.last_name);
            }
          });
          return false;
        });

        $('form button[type=submit]').click(function(){
          var token = $('input[name=token]').val();
          var form = $('form');
          $.ajax({
           