basic login dialog works