added complete and author to the post model, and the server only searches for documents marked complete