class of gui - password