refactory votes controller