Add sessions functionality