actually getting posts from db