Refactored the votes controller create method