add password save and validation