Check for duplicates and return errors

Check if the user tries to enter a duplicate congregation and if they do, return an error.