introduced basic structure for login dialog