made session handling work properly - stop playing is session not valid