Code for database connection #96