add check_for_duplicates method in vote model, should be a validation but refactor later. passing tests