Corrected the logout functionality

I have correct logout functionality  by adding function of
clearlogoutstatus in loginsession class