Tidied up visibility of login window