added database connection hopefully