Added Postgresql support, updated users' config.