Added authentication to posts