Implemented getAllPosts() and makePost()