Pulling posts from database. Fixes #4