changed backend voting route to allow anonymous user votes