Added MD5 hashing to password.
code cleanup