Add login manager.