basic setup for db and session handling