right session handling