added entities for candidates and registrations