code: def username(self):
          
          if self._username is None:
              if self.has_logged_in:
                  self._username = self._get_username()
              else:
                  raise AuthenticationError('Not logged in.')
          return self._username
docs: Username of the current API user