functional example entry manager
function session repository