Fix Logout Issue