Added authentication to add comments
Upvote functionality using ajax