Added the database connections to the template