votes controller