added loginwindow controls