def _loadCredentials(cls):
        local_storage = LocalStorage(cls._CREDENTIALS_PATH)
        local_storage.setFileName(cls._CREDENTIALS_FILENAME)

        if not local_storage.existFile():
            raise NameError("missing file for credentials")

        file_content = local_storage.getFileContent()
        cls._CREDENTIALS = loads(file_content)

        return cls
    def _loadToken(cls):
        local_storage = LocalStorage(cls._TOKEN_PATH)
        local_storage.setFileName(cls._TOKEN_FILENAME)

        if not local_storage.existFile():
            return False

        token_file=cls._TOKEN_PATH+"/"+cls._TOKEN_FILENAME
        with open(token_file, 'rb') as token:
            cls._TOKEN =pickle.load(token)

        return cls