Adding in error handling/logging for database connections...