added comment to posts view and authentication