refactored session actors into common class