refactored session helper into a module