changing database to mysql, fixing login (userdetailservice), adding md5hash to passwords