Refactor: rename sess in main to dbs

"sess" is ambigous. It can be http session or database session.
"dbs" is a lot clearer for that purpose.