added login_required to all the blog post views