Added info method and getAllPosts