introduced a prototype structure for a login dialog