remove the first window for input of password 
fixed the constructor of gui class