added a database connection to save game info