add some sessions functionality