We need the BE to let the FE know if a template name is taken so that we stop people from making duplicate names. Create a new Template object called isValid function and return an error if there are any