Security in mind as UK votes in wake of terror attacks