code: def _start_new_session(self):
          
          self._session_start = datetime.datetime.now()
  
          session_id = self._parse_session_id(self._session_info) if self._session_info else ''
          session_url = '{}data/v1/session/create?locale=en&sid={}'.format(self.base_url, session_id)
          self._session_info = get_json(session_url)
  
          if self.username and self.password and self._parse_user_id(self._session_info) == self.UNAUTHENTICATED_USER_ID:
              self._make_login()
  
          if self.is_global:
              GeopediaSession._global_session_info = self._session_info
              GeopediaSession._global_session_start = self._session_start
docs: Starts a new session and calculates when the new session will end. If username and password are provided
          it will also make login.