add protection for upvoting if user not logged on