fixed issue where users can vote multiple times