Clearing sessions after timeout works now, but it is not refreshed yet, so I commented it out.