added error message for connecting to database