Remove listeners for loginView on closing of loginWindow