Simple sessions already working
Fixing little db bug
Improving error reporting