trying to get has_voted check working