Adding md5 hash method