Added event selector to the candidate form for the admin page, and made it input new candidate to the database