added login dialog

add