Added an error message for invalid community names