Fixed some bugs with "user must be logged in to vote"