added passwword and form checks,.