modify login manager