Code modified to disallow unauthenticated user to make a post and to prevent fake posts.