set login as main