added database sessions to the config