made checkboxes on front page work