fix up server to match stuff locally
trying to get to the same point as alex zanfir
that was painful... need a config file for db stuff and send email to alex zanfir