restaurant validation now with error handling