removed hardcoded session detection