changed the way patient ids were sent in debugger, using sessions other than params