Fixed the display of log in box for register/log in windows