if user tries to duplicate a category the get an error message