in reply to MD5 encrypted password

Sorry! MD5 is one-way. You can encrypt your password, but you can't decrypt it. What you can do, is ask the user what they think the password is, encrypt it, and see if it's the same as the previous encrypted password you got. If the newly encrypted password is the same as the previously encrypted password, they got it right. Otherwise, they got it wrong.