can now pull specific/all posts from database