update login menu, make login for global use