removed duplicates in posts.js and fixed form id posts show