pulled template helpers into individual files. added type checks for
publish and methods
Added a competitionName field to Competition document. Also got create
competition and added a delete button for competitions.