added password client md5 and captcha support