text: let requester = (() => {
      const kinveyBaseUrl = "https://baas.kinvey.com/";
      const kinveyAppKey = "kid_H1B8AVkd-"; // APP KEY HERE
      const kinveyAppSecret = "3f62a795e9444f34a8bb81e1a8a36723"; // APP SECRET HERE
  
      // Creates the authentication header
      function makeAuth(type) {
          return type === 'basic'
              ?  'Basic ' + btoa(kinveyAppKey + ':' + kinveyAppSecret)
              :  'Kinvey ' + sessionStorage.getItem('authtoken');
      }
  
      // Creates request object to kinvey
      function makeRequest(method, module, endpoint, auth) {
          return req = {
              method,
              url: kinveyBaseUrl + module + '/' + kinveyAppKey + '/' + endpoint,
              headers: {
                  'Authorization': makeAuth(auth)
              }
          };
      }
  
      // Function to return GET promise
      function get (module, endpoint, auth) {
          return $.ajax(makeRequest('GET', module, endpoint, auth));
      }
  
      // Function to return POST promise
      function post (module, endpoint, auth, data) {
          let req = makeRequest('POST', module, endpoint, auth);
          req.data = data;
          return $.ajax(req);
      }
  
      // Function to return PUT promise
      function update (module, endpoint, auth, data) {
          let req = makeRequest('PUT', module, endpoint, auth);
          req.data = data;
          return $.ajax(req);
      }
  
      // Function to return DELETE promise
      function remove (module, endpoint, auth) {
          return $.ajax(makeRequest('DELETE', module, endpoint, auth));
      }
  
      return {
          get,
          post,
          update,
          remove
      }
  })();