corrected log-in\log-out session error