Additions of Window Manager control statements to hide the mainscreen during authentication