Senate candidates learn the pitfalls of online politics