added some session code at the top