Logout Fail fix