tweaked login dialog