added hiding windows and some changes in login window