add login manager