Added md5 hash generation for the login system.