added md5 encryption method