added poll author check on endPoll event