Redoing votes controller and model