implement a very simple login demo