add simple login support