new class password recovery, refactoring, sanitize resolved