add .
Minor refactoring, add terminal dummy authentication.