add @db_seesion decorator to fix the issue of setup.py