added login mage