add debug
login support