added login window hide ability on click on window