get new password now works....

No undifined vars either!