Added validation of passwords during reset