Adds show and edit features for posts