edited post.js to include foreign key + more styling