add user/pass remember logic; add required attr