Changed registration to add md5 hash of password to database for security reasons.