fixed araqne/issue#649. fixed invalid new line check position.
fixed araqne/issue#648. added null check to session logout