Added session initialization