fixed data posting for express bodyParser
reorg some lines in databases.js