changed hardcoded db name to use session var
Merge pull request #12 from wazoo/queryfix

changed hardcoded db name to use session var