handled persistencemanager based on request lifecycle