menu management with new login logic