some changes in session handling
changes in session handling, (lifetime, and activateSession service)