Configured database and session