Adding response validation