add terminal login function