added login dialog box
added login dialog