adding votes to the backend