database setup fixes
fixes
sessions fixes