added post_detail view functionality