Added functionality for displaying a single post