Fix Password recovery function;