specs for user session managers
refactor specs
refactoring of user session managers