implemented hashed md5 for passwords