fixed login logout menu enable/disable