fix #39 (implement "save password" feature)