Adding md5 function for Password length control