introduced login dialog structure