code: function validateToken(bearerToken) {
      var validatedToken = bearerToken;
      if (bearerToken.startsWith('bearer ')) {
          validatedToken = bearerToken.replace('bearer ', '');
      }
      return validatedToken;
  }
docs: *****************************************
  Module's private functions
  *****************************************