Started implementing loginwindow