database connection test added