checks for and displays errors when adding new restaurant