encrypt passwords using php md5 function