dapted feed.js to use object category instead of posts
adapted the footer.js to send objects instead of posts