added view count, remove page, and updated show layout