Closing loginwindow now returns to app