initialized login dialog