logout operational and major improvements