Added passord recovery
Fixed redeclaration error. Close #8.