fix favorite checkbox
correct format for participants array, create tournament edit function, separate model and controller, fix checkboxes