fix bug of Updating metadata and clean up show page and edit page.
dc2b-36: Add metadata links to Users who have matadata permission.