Added a post retrieval functionality.