enable different type of login