identifying user with session cookie and added resource upvote downvote