added socket io route to collect vote