adding posts to main page