Update posts.authenticated.js