Changed the posts var in the index view function to get all followed posts.
User.followed_posts() returns an sqlalchemy query object that grabs posts that we are interested in seeing.
all() then returns all the posts in list form.