Work on the item show page

Add an edit button, fix some issues when logged out, and more.