Added the database connection with corrrect settings