improved design of LoginWindow