Added session code